const mongoose = require('./db.js')


const usersSchema = new mongoose.Schema({
    userid:{type:String},
    username: {type: String},
    password: {type: String},
    regTime: {type: Number},
    isLogin: {type: Number},       // 0未登录，1登录
    token: {type: String}
})

module.exports = mongoose.model('users',usersSchema)